﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaCarritoCompras.Master" AutoEventWireup="true" CodeBehind="Carrito.aspx.cs" Inherits="CapaPresentacion.Carrito" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
    Detalle de Pedido: Contenido de Carrito de Compras</p>
    <p>
        <asp:GridView ID="gvCarrito" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" 
            CellPadding="3" Height="142px" onrowcommand="gvCarrito_RowCommand1" 
            onrowdeleting="gvCarrito_RowDeleting1" Width="706px">
            <Columns>
                <asp:BoundField DataField="Codigo" HeaderText="Código" />
                <asp:BoundField DataField="Descripcion" HeaderText="Descripcion" />
                <asp:BoundField DataField="Precio" HeaderText="Precio" />
                <asp:TemplateField HeaderText="Cantidad">
                    <ItemTemplate>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="TextBox1" runat="server" Height="18px" 
                            style="text-align: center" Width="68px"></asp:TextBox>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="Total" HeaderText="Importe" />
                <asp:CommandField DeleteText="Quitar" HeaderText="Operación" 
                    ShowDeleteButton="True" />
            </Columns>
            <FooterStyle BackColor="White" ForeColor="#000066" />
            <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
            <RowStyle ForeColor="#000066" />
            <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#007DBB" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#00547E" />
        </asp:GridView>
    </p>
<p>
    <asp:Button ID="btnVerDatalle" runat="server" 
            onclick="btnVerDatalle_Click" Text="Calcular Sub Total: " 
        Width="200px" Height="36px" />
        <asp:Label ID="Label1" runat="server" Text="El Importe a pagar es: S/. " 
        style="color: #000000; font-size: small; font-weight: 700; font-family: 'Segoe UI'"></asp:Label>
        <asp:Label ID="lblTotal" runat="server" 
        style="color: #000000; font-size: small; font-family: 'Segoe UI'; font-weight: 700"></asp:Label>
    </p>
    <p>
        <asp:Label ID="lblLetras" runat="server" Text="Label" 
            style="color: #0000FF; font-size: medium; font-weight: 700; font-family: 'Segoe UI'"></asp:Label>
    </p>
    <p>
        <asp:ImageButton ID="btnComprar" runat="server" BorderStyle="Inset" 
            Height="60px" ImageUrl="~/Botones/BotonCompra.png" onclick="btnComprar_Click" 
            Width="198px" />
&nbsp;<asp:Label ID="lblOperacion" runat="server" Text="Label" 
            style="color: #1D60FF; font-size: medium; font-weight: 700; font-family: 'Segoe UI'"></asp:Label>
    </p>
        <asp:GridView ID="gvPrueba" runat="server" CellPadding="4" 
            GridLines="None" Height="112px" Width="570px" ForeColor="#333333">
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" ForeColor="White" Font-Bold="True" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </asp:Content>
